.home-container {
  padding: 20px;
  background: #f0f2f5;
  min-height: calc(100vh - 84px);

  .data-overview {
    margin-bottom: 20px;

    .data-card {
      height: 140px;

      .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;

        .title {
          font-size: 14px;
          color: #606266;
        }
      }

      .card-content {
        .number {
          font-size: 24px;
          font-weight: bold;
          color: #303133;
          margin-bottom: 8px;
        }

        .compare {
          font-size: 12px;
          color: #909399;

          .up {
            color: #67C23A;
          }

          .down {
            color: #F56C6C;
          }
        }
      }
    }
  }

  .chart-section {
    margin-bottom: 20px;

    .chart-card {
      .chart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
    }
  }

  .todo-section {
    .todo-card {
      margin-bottom: 20px;
    }

    .stock-warning {
      color: #F56C6C;
    }
  }
}

// 移动端适配
@media screen and (max-width: 768px) {
  .home-container {
    padding: 10px;

    .el-card {
      margin-bottom: 10px;
    }
  }
}